package com.olc.railing.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * 入场	OCR识别车牌	录像文件名称	结束方式	ETC扣费状态	ETC扣款车牌号
 */
@DatabaseTable(tableName = "user_info")//创建表名
public class UserInfo implements Serializable {
    public UserInfo() {
    }

    @DatabaseField(generatedId = true)
    private int id;
    @DatabaseField(columnName = "entrance_time")
    private String entranceTime;
    @DatabaseField(columnName = "ocr_veh_plate")
    private String ocrVehPlate;

    @DatabaseField(columnName = "record_file_name")
    private String recordFileName;

    @DatabaseField(columnName = "close_type",defaultValue = "1")
    private String closeType ;

    @DatabaseField(columnName = "etc_pay_status")
    private String etcPayStatus;

    @DatabaseField(columnName = "etc_pay_veh_palte")
    private String etcpayVehpalte;
    @DatabaseField(columnName = "serial_no")
    private String serialNo;

    @DatabaseField(columnName = "title")
    private String title;
    @DatabaseField(columnName = "adress")
    private String adress;
    @DatabaseField(columnName = "tradeTime")
    private String tradeTime;
    @DatabaseField(columnName = "tradeNo")
    private String tradeNo;
    @DatabaseField(columnName = "operator")
    private String operator;
    @DatabaseField(columnName = "oilGunNo")
    private String oilGunNo;
    @DatabaseField(columnName = "oilType")
    private String oilType;
    @DatabaseField(columnName = "oilLiter")
    private String oilLiter;
    @DatabaseField(columnName = "unitPrice")
    private String unitPrice;
    @DatabaseField(columnName = "actualPrice")
    private int actualPrice;
    @DatabaseField(columnName = "discountPrice")
    private int discountPrice;
    @DatabaseField(columnName = "prePrice")
    private int prePrice;
    @DatabaseField(columnName = "welcomeDesc")
    private String welcomeDesc;
    @DatabaseField(columnName = "warnDesc")
    private String warnDesc;
    @DatabaseField(columnName = "phone1")
    private String phone1;
    @DatabaseField(columnName = "phone2")
    private String phone2;
    @DatabaseField(columnName = "phone3")
    private String phone3;
    @DatabaseField(columnName = "netAdress")
    private String netAdress;

    @DatabaseField(columnName = "extra1")
    private String extra1;
    @DatabaseField(columnName = "extra2")
    private String extra2;
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getEntranceTime() {
        return entranceTime;
    }

    public void setEntranceTime(String entranceTime) {
        this.entranceTime = entranceTime;
    }

    public String getOcrVehPlate() {
        return ocrVehPlate;
    }

    public void setOcrVehPlate(String ocrVehPlate) {
        this.ocrVehPlate = ocrVehPlate;
    }

    public String getRecordFileName() {
        return recordFileName;
    }

    public void setRecordFileName(String recordFileName) {
        this.recordFileName = recordFileName;
    }

    public String getCloseType() {
        return closeType;
    }

    public void setCloseType(String closeType) {
        this.closeType = closeType;
    }

    public String getEtcPayStatus() {
        return etcPayStatus;
    }

    public void setEtcPayStatus(String etcPayStatus) {
        this.etcPayStatus = etcPayStatus;
    }

    public String getEtcpayVehpalte() {
        return etcpayVehpalte;
    }

    public void setEtcpayVehpalte(String etcpayVehpalte) {
        this.etcpayVehpalte = etcpayVehpalte;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAdress() {
        return adress;
    }

    public void setAdress(String adress) {
        this.adress = adress;
    }

    public String getTradeTime() {
        return tradeTime;
    }

    public void setTradeTime(String tradeTime) {
        this.tradeTime = tradeTime;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOilGunNo() {
        return oilGunNo;
    }

    public void setOilGunNo(String oilGunNo) {
        this.oilGunNo = oilGunNo;
    }

    public String getOilType() {
        return oilType;
    }

    public void setOilType(String oilType) {
        this.oilType = oilType;
    }

    public String getOilLiter() {
        return oilLiter;
    }

    public void setOilLiter(String oilLiter) {
        this.oilLiter = oilLiter;
    }

    public String getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(String unitPrice) {
        this.unitPrice = unitPrice;
    }

    public int getActualPrice() {
        return actualPrice;
    }

    public void setActualPrice(int actualPrice) {
        this.actualPrice = actualPrice;
    }

    public int getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(int discountPrice) {
        this.discountPrice = discountPrice;
    }

    public int getPrePrice() {
        return prePrice;
    }

    public void setPrePrice(int prePrice) {
        this.prePrice = prePrice;
    }

    public String getWelcomeDesc() {
        return welcomeDesc;
    }

    public void setWelcomeDesc(String welcomeDesc) {
        this.welcomeDesc = welcomeDesc;
    }

    public String getWarnDesc() {
        return warnDesc;
    }

    public void setWarnDesc(String warnDesc) {
        this.warnDesc = warnDesc;
    }

    public String getPhone1() {
        return phone1;
    }

    public void setPhone1(String phone1) {
        this.phone1 = phone1;
    }

    public String getPhone2() {
        return phone2;
    }

    public void setPhone2(String phone2) {
        this.phone2 = phone2;
    }

    public String getPhone3() {
        return phone3;
    }

    public void setPhone3(String phone3) {
        this.phone3 = phone3;
    }

    public String getNetAdress() {
        return netAdress;
    }

    public void setNetAdress(String netAdress) {
        this.netAdress = netAdress;
    }

    public String getExtra1() {
        return extra1;
    }

    public void setExtra1(String extra1) {
        this.extra1 = extra1;
    }

    public String getExtra2() {
        return extra2;
    }

    public void setExtra2(String extra2) {
        this.extra2 = extra2;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "id=" + id +
                ", entranceTime='" + entranceTime + '\'' +
                ", ocrVehPlate='" + ocrVehPlate + '\'' +
                ", recordFileName='" + recordFileName + '\'' +
                ", closeType='" + closeType + '\'' +
                ", etcPayStatus='" + etcPayStatus + '\'' +
                ", etcpayVehpalte='" + etcpayVehpalte + '\'' +
                ", serialNo='" + serialNo + '\'' +
                ", title='" + title + '\'' +
                ", adress='" + adress + '\'' +
                ", tradeTime='" + tradeTime + '\'' +
                ", tradeNo='" + tradeNo + '\'' +
                ", operator='" + operator + '\'' +
                ", oilGunNo='" + oilGunNo + '\'' +
                ", oilType='" + oilType + '\'' +
                ", oilLiter='" + oilLiter + '\'' +
                ", unitPrice='" + unitPrice + '\'' +
                ", actualPrice='" + actualPrice + '\'' +
                ", discountPrice='" + discountPrice + '\'' +
                ", prePrice='" + prePrice + '\'' +
                ", welcomeDesc='" + welcomeDesc + '\'' +
                ", warnDesc='" + warnDesc + '\'' +
                ", phone1='" + phone1 + '\'' +
                ", phone2='" + phone2 + '\'' +
                ", phone3='" + phone3 + '\'' +
                ", netAdress='" + netAdress + '\'' +
                ", extra1='" + extra1 + '\'' +
                ", extra2='" + extra2 + '\'' +
                '}';
    }
}